package com.tju.shortlink.admin.dto.req;

//import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户注入参
 */
@Data
public class UserRegisterReqDTO {

    @Schema(description = "用户名")
    @NotNull(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "手机号")
    @NotNull(message = "手机号不能为空")
    private String phone;

    @Schema(description = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String mail;

}
